<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <style type="text/css" media="screen">@import url( style2.css );</style>
  <title>TeamDocs</title>
</head>

<body>

<div style="text-align: left;"><!-- Banner code -->
<table id="banner" width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="33%" class="padding"><img src="images/logo.jpg" alt="TeamDocs" /></td>
    <td colspan="2" align="right" class="padding">
    <h2>Organization | Repository Name</h2>
    </td>
  </tr>
  <tr>
    <td width="33%" class="padding">Logged in as: Firstname Lastname</td>
    <td width="34%" class="padding">
    <div align="center">
    <p><a href="adminview.jsp">Admin</a> | <a href="user.do?action=dashboard">Dashboard</a> | 
      <a href="repository.do?action=explore">Repository</a> | <a href="#">Profile</a> | <a href="logout.jsp">Logout</a></p>
    </div>
    </td>
    <td width="33%" align="right" class="padding">
      <form action="search.do" name="search" method="post">
        <input type="text" name="search_terms" style="width: 150px; " /> <input type="submit" name="action" value="search" />
      </form>
    </td>
  </tr>
</table>
<br />
<table id="content" width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="80%" valign="top" class="padding" style="border-right: 1px solid #000;">


    <h2><a href="document.do?action=read&id=docID">Filename</a></h2>
    <a href="document.do?action=read&id=docID"><img src="images/big/text.png" width="128" height="128" alt="" align="left" class="doc_image" /></a> 
    <a href="document.do?action=read&id=docID"><img src="images/big/file.png" width="128" height="128" alt="" align="left" class="doc_image" /></a>
    
    <!-- Success messages -->
    <p class="success">Document Checked Out Successfully</p>

    <p class="success">Document Checked In Successfully</p>

    <p class="success">Document Successfully Renamed</p>

    <p class="error">Document size must be greater than 0.</p>

    <p class="error">Document name must contain letters, digits or any of '-','_' or '.'.</p>

    <p class="error">Checking-in document with name "Filename" will overwrite files.</p>

    <h3>Check-in a document</h3>
    <form action="document.do" name="checkin" enctype="multipart/form-data" method="post">
    <table width="100%" cellpadding="5" cellspacing="0" border="0">
      <tr>
        <td align="right">Document:</td>
        <td><input type="file" name="document" value="" /></td>
      </tr>
      <tr>
        <td align="right">Keywords:</td>
        <td><input type="text" name="keywords" value="" style="width: 340px; " /></td>
      </tr>
      <tr>
        <td align="right" valign="top">Summary:</td>
        <td><textarea name="summary" rows="4" cols="40"></textarea></td>
      </tr>
      <tr>
        <td align="right">Version:</td>
        <td><input type="text" name="version" value="next version" style="width:
        35px; " /></td>
      </tr>
      <tr>
        <td align="right">&nbsp;</td>
        <td><input type="hidden" name="page" value="fileView.jsp" /> <input type="submit" value="Check_in"
          name="action" /> <input type="submit" value="Cancel" name="action" /></td>
      </tr>
    </table>
    </form>

    <p class="error">Renaming this document to "Filename" will overwrite files.</p>

    <h3>Rename "Filename"</h3>
    <form name="rename_document" action="document.do" method="post">
      <input type="text" name="new_name" value="filename" maxlength="255" /> 
      <input type="hidden" name="page" value="fileView.jsp"> <input type="submit"
      value="Rename" name="action" /> <input type="submit" value="Cancel" name="action" />
    </form>

    <span class="small"> Actions: <a href="document.do?action=checkout&id=docID">
    Check-out Document </a> | <a href="fileView.jsp?action=renamedoc&id=docID">Rename "filename"</a> 
    Actions: <a href="fileView.jsp?action=checkinchanges&id=docID">Check-in Document</a> </span>

    <p>Document Summary...</p>

    <table>
      <tr>
        <td class="small"><b>Version:</b> 1.24 <br />

        <b>Checked out by:</b> Firstname Lastname<br />
        <b>Created by:</b> Firstname Lastname on July 18, 2007<br />
        </td>
      </tr>
    </table>

    <h2>Documentation History</h2>
    <table align="center" width="100%">
      <thead class="table_heading">
        <tr>
          <th width="30%">Document Name</th>
          <th width="10%">Version</th>
          <!-- truncated summary -->
          <th>Summary</th>
        </tr>
      </thead>
      <tr>
        <td><a href="document.do?action=read&id=previousDocumentID">PreviousFilename</a></td>
        <td>Previous Version Number</td>
        <td>Previous Summary</td>
      </tr>
    </table>

    <p>There are no previous versions of this document.</p>

    </td>
  </tr>
</table>
</div>
</body>
</html>
